<template>
  <div>
         <header>
        <div class="top">
          <div class="lef">
            <van-icon
              class="lef2"
              name="arrow-left"
              size="20px"
              color="#e0e0e0"
              @click="onClickLeft"
            />
          </div>
          <div class="cen">登陆</div>
          <div class="rig">
            <router-link to="/reg">注册</router-link>
          </div>
        </div>
    </header>

     <!-- 主体 -->
     <section>
        <form action="">
        <div class="callreg">
          <span class="sp1">使用手机注册</span>
        </div>
            <!-- 登陆手机号 -->
        <div class="textcall">
            <input class="inputcall" type="text" placeholder="请输入11位手机号" >
        </div>
            <!-- 验证码 -->
            <div class="yan">
                <input class="yancall" type="text" placeholder="请输入短信验证码"   >
                <a  href="">验证</a>
            </div>

            <div class="logins">
              <a href="">使用聚美账号登陆</a>
              <div class="tian">30天内自动登录</div>
            </div>

             <div class="login2" >
                  <input type="submit" value="登陆" class="loginss" >
           </div>
        </form>
     </section>
  </div>
</template>

<script>

export default {
 data() {
    return {
   
    };
  },
  methods: {
    onClickLeft() {
      window.history.back(-1);
    },
  },
  

}




</script>

<style scoped>
header {
  width: 100%;
  height: 50px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
}
.top {
  color: #333;
  height: 44px;
}

.lef {
  position: absolute;
  left: 0;
  width: 92px;
  height: 44px;
  line-height: 44px;
  
}
.lef2 {
  color: #333;
  height: 44px;
  line-height: 44px;
  font-weight: 700;
  padding-left: 8px;

}
.cen {
  width: 90px;
  float: left;
  color: #666;
  line-height: 50px;
  position: absolute;
  left: 45%;
  font-size: 19px;
}
.rig {
  position: absolute;
  height: 44px;
  right: 10px;
  box-sizing: border-box;
  color: #333;
  margin-top: 10px;
  font-size: 18px;
}
.rig > a {
  color: #000;
}
/* 主体 */
 section{
   box-sizing: border-box;
 }
  section > form> .callreg{
      position: relative;
      width: 100px;
      height: 58px;
      line-height: 58px;
      text-align: center;
      left: 35%;
      
      
  }
 section > form>.callreg > .sp1{
     color: #999;
 }
 section > form >.textcall,.yan ,.login2{
    display: flex;
    justify-content: center;
    align-items: center;
   box-sizing: border-box;
 }
 /* 手机号的样式 */
  section > form >.textcall > .inputcall  {
          width: 270px;
          height: 40px;
          color: #999999;
          font-size: 12px;
          text-indent: 15px;
          text-align: left;
          background: #f5f5f5;
          border-radius: 20px;
          border: none;
            box-sizing: border-box;
  }
   section > form >.yan ,.login2 {
       margin-top: 20px;
   }
   section > form >.yan> .yancall{
            width: 170px;
          height: 40px;
          color: #999999;
          font-size: 12px;
          text-indent: 15px;
          text-align: left;
          background: #f5f5f5;
          border-radius: 20px;
          border: none;
          box-sizing: border-box;
   }
    section > form >.yan> a{
        margin-left: 5px;
        width: 90px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        color: #feb2c5;
        border:1px solid #feb2c5;
        border-radius: 20px; 
        box-sizing: border-box;
    }

    .logins{
      display: flex;
      height: 32px;
      line-height: 44px;
      font-size: 12px;
    justify-content: center;

    }
    .logins>a{
      flex: 1;
      color: #fe4070;
      display: block;
      padding-left : 57px ;
  
    }
      .logins>.tian{
        color: #999999;
        padding-left:25px;
        flex: 1;
      }


      .loginss{
      background: #feb2c5;
      color: #fff;
      width: 270px;
      height: 40px;
      border-radius: 20px;
      border: none;
     
  }
</style>